<template>
  <view class="firmware-modals">
    <!-- 升级中 -->
    <UpgradingModal :helper="helper" />

    <!-- 升级成功 -->
    <SuccessAcknowledge :helper="helper" />

    <!-- 升级失败 重试 -->
    <RetryModal :helper="helper" />
  </view>
</template>

<script setup lang="ts">
import type { OTAHelper } from './helpers/types'
import UpgradingModal from './modals/upgradingModal.vue'
import SuccessAcknowledge from './modals/successAcknowledge.vue'
import RetryModal from './modals/retryModal.vue'

defineProps<{
  helper: OTAHelper
}>()
</script>
